#ifndef _CFPS_H_
	#define _CFPS_H_

#include <SDL.h>

class CFPS
{
private:
	int OldTime;
	int LastTime;
	float SpeedFactor;
	int NumFrames;
	int Frames;

public:
	static CFPS FPSControl;

	CFPS(void);
	
	void OnLoop();
	int GetFPS();
	float GetSpeedFactor();

};

#endif